<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="{{route('store')}}" method="post">
        姓名：<input type="text" name="name" id="">
        邮箱：<input type="text" name="email" id="">
        年龄：<input type="text" name="age" id="">
        爱好：<input type="checkbox" name="hibody" id="">
        <input type="checkbox" name="hibody" id="">
        <input type="checkbox" name="hibody" id="">
        <input type="submit" value="保存">
    </form>
    @if ($errors->any())
    <div class="alert alert-danger">
        <ul>
            @foreach ($errors->all() as $error)
            <li>{{$error}}</li>
            @endforeach
        </ul>
    </div>
</body>
</html>